/*
*Description:
*User:laoHu
*Created with Intellij IDEA 2025
*Data:2025.05.00
*Time:00:00
*/

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
//            static int  i = 100;//不能定义局部静态变量
//            System.out.println(i);
        }
    }

}

class Data {

    private int x;
    private int y;

     public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }
}